package puzzle.hashikake.solver;

import java.util.List;

import puzzle.common.solver.AbstractTopology;

public class HashikakeTopology extends AbstractTopology {
	private int m_numberOfNetworks;
	private boolean m_hasClosedNetwork;
//	private int[] m_networkNumbersForHashi;
//	private int[] m_networkNumbersForShima;

	public HashikakeTopology(int numberOfNetworks, int[] networkNumberForHashi,
			int[] networkNumberForShima, List<Boolean> isClosedFlags) {
		m_numberOfNetworks = numberOfNetworks;
		m_hasClosedNetwork = isClosedFlags.contains(true);
//		m_networkNumbersForHashi = networkNumberForHashi;
//		m_networkNumbersForShima = networkNumberForShima;
	}

	public int getNumberOfNetworks() {
		return m_numberOfNetworks;
	}

	public boolean hasClosedNetwork() {
		return m_hasClosedNetwork;
	}

//	public int getNetworkNumberFor(ShimaDef shima) {
//		return m_networkNumbersForShima[shima.i];
//	}
//
//	public int getNetworkNumberFor(HashiState s) {
//		return m_networkNumbersForShima[s.def.i];
//	}
//
//	public int getNetworkNumberFor(HashiDef hashi) {
//		return m_networkNumbersForHashi[hashi.i];
//	}
}
